home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20000824-20010305 / 000204_news@columbia.edu _Wed Jan 10 22:13:02 2001.msg < prev    next >
Internet Message Format  |  2020-01-01  |  5KB

  1. Return-Path: <news@columbia.edu>
  2. Received: from watsun.cc.columbia.edu (watsun.cc.columbia.edu [128.59.39.2])
  3.     by uhaligani.cc.columbia.edu (8.9.3/8.9.3) with ESMTP id WAA21441
  4.     for <kermit.misc@cpunix.cc.columbia.edu>; Wed, 10 Jan 2001 22:13:01 -0500 (EST)
  5. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
  6.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id WAA22167
  7.     for <kermit.misc@watsun.cc.columbia.edu>; Wed, 10 Jan 2001 22:13:00 -0500 (EST)
  8. Received: (from news@localhost)
  9.     by newsmaster.cc.columbia.edu (8.9.3/8.9.3) id WAA00208
  10.     for kermit.misc@watsun.cc.columbia.edu; Wed, 10 Jan 2001 22:09:11 -0500 (EST)
  11. X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
  12. Message-ID: <3A5D2372.9988129C@cyberbills.com>
  13. From: Victor Zele <victor@cyberbills.com>
  14. Organization: CyberBills, Inc.
  15. Subject: scripting problem
  16. Date: Thu, 11 Jan 2001 03:07:31 GMT
  17. To: kermit.misc@columbia.edu
  18.  
  19. I'm having a weird problem with a script where I can run all
  20. the commands interactively fine, but when I run them in my script
  21. it fails at the SEND (resend) command with the error,
  22.  
  23. Retry 0: Timeout on pathname
  24.  
  25. Transfer incomplete
  26.  
  27. I never get the output, "Sending: filename"
  28.  
  29. Have you every seen this problem?  I've checked all the
  30. parameters for the comm port and modem and tty but they
  31. are all the same.  I assume its the tty that's the only
  32. difference that may be causing this.
  33.  
  34. I turned off pathnames because of the error message but no
  35. change...  Anyways, the commands work when I type them.
  36. Here is the trace output.  Kermit version shown at the end.
  37. Any ideas? thanks
  38. Victor
  39.  
  40. +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
  41. # ./kermit.sh
  42. TRACE ON
  43. >>> %m: "1"
  44. >>> %n: "555-1212"
  45. >>> %h: "host"
  46. ">> %p: "
  47. >>> %f: "file.txt"
  48. >>> %d: "20010110-1851"
  49. >>> giveup: " hangup, close, exit 1 {FATAL: \%1 (Connection closed)} "
  50.  
  51. ...cut...
  52.  
  53. [1] -F: "/root/bin/kermit.sh"
  54. >>> %a: "0"
  55.  
  56. Communications Parameters:
  57.  Line: /dev/ttyS1, speed: 57600, mode: local, modem: usrobotics
  58.  Parity: none, stop-bits: (default) (8N1)
  59.  Duplex: full, flow: rts/cts, handshake: none
  60.  Carrier-watch: auto, close-on-disconnect: off
  61.  Lockfile: /var/lock/LCK..ttyS1
  62.  Terminal bytesize: 7, escape character: 28 (^\)
  63.  
  64.  Carrier Detect      (CD):  Off
  65.  Dataset Ready       (DSR): On
  66.  Clear To Send       (CTS): On
  67.  Ring Indicator      (RI):  Off
  68.  Data Terminal Ready (DTR): On
  69.  Request To Send     (RTS): On
  70.  
  71. Type SHOW DIAL to see DIAL-related items.
  72. Type SHOW MODEM to see modem-related items.
  73.  
  74.  Trying: 555-1212...
  75.  Device: /dev/ttyS1, modem: usrobotics, speed: 57600
  76.  Dial timeout: 70 seconds
  77.  To cancel: type your interrupt character (normally Ctrl-C).
  78.  Call complete: "CONNECT 44000/ARQ/V90/LAPM/V42BIS".
  79. >>> %0: "_forx"
  80. >>> %1: "%i"
  81. >>> %2: "1"
  82. >>> %3: "6"
  83. >>> %4: "1"
  84. >>> %5: ">"
  85. >>> %6: "\flit(output \13,      input 10 Name:,,      if success break   )"
  86. [2] +M: "_forx"
  87. >>> _for2: " _getargs,define \%i 1,:_..top,if > \%i 6 goto _..bot,output \13,      input 10 Name:,,      if success break   ,:_..inc,incr \%i 1,goto _..top,:_..bot,_putargs"
  88. >>> break: "goto _..bot"
  89. >>> continue: "goto _..inc"
  90. >>> %0: "_for2"
  91. >>> %1: "%i"
  92. >>> %2: "1"
  93. >>> %3: "6"
  94. >>> %4: "1"
  95. >>> %5: " > "
  96. [3] +M: "_for2"
  97. >>> %0: "/root/bin/kermit.sh"
  98. >>> %1: "0"
  99. >>> %2: (undef)
  100. >>> %3: (undef)
  101. >>> %4: (undef)
  102. >>> %5: (undef)
  103. >>> %6: (undef)
  104. >>> %7: (undef)
  105. >>> %8: (undef)
  106. >>> %9: (undef)
  107. >>> %i: "1"
  108.  
  109.  
  110.  
  111.  0285SFN
  112.  
  113. Host Name:>>> %0: "break"
  114. [4] +M: "break"
  115. [3] -M: "/root/bin/kermit.sh"
  116. >>> %0: "/root/bin/kermit.sh"
  117. >>> %1: "0"
  118. >>> %2: (undef)
  119. >>> %3: (undef)
  120. >>> %4: (undef)
  121. >>> %5: (undef)
  122. >>> %6: (undef)
  123. >>> %7: (undef)
  124. >>> %8: (undef)
  125. >>> %9: (undef)
  126. [2] -M: "_forx"
  127. >>> _for2: (undef)
  128. [1] -F: "/root/bin/kermit.sh"
  129.   PSPC08
  130. You are now into the XXX system
  131.  
  132. Connected to 0002 XXX_HKD
  133.  
  134. Enter logon id: USER
  135.  
  136. Enter password: XXX
  137. ...Attempting logon...
  138.  
  139.   ** LOGON SUCCESSFUL **
  140.  
  141. Making outbound connection...CONNECTED
  142. CONNECTED found
  143.  
  144.  
  145. The current File Transfer Protocol is ZMODEM>>> %0: "_xif"
  146. >>> %1: "\flit(,sleep 2,resend \%f,if fail stop,,,pause 2,echo Now receiving files: \%d.\v(filenum),receive /rename-to:\%d.\v(filenum),if fail giveup {RECEIVE failed} )"
  147. [2] +M: "_xif"
  148. >>> _if2: "_getargs,,sleep 2,resend \%f,if fail stop,,,pause 2,echo Now receiving files: \%d.\v(filenum),receive /rename-to:\%d.\v(filenum),if fail giveup {RECEIVE failed} ,_putargs"
  149. >>> %0: "_if2"
  150. [3] +M: "_if2"
  151. >>> %0: "/root/bin/kermit.sh"
  152. >>> %1: "0"
  153. >>> %2: (undef)
  154. >>> %3: (undef)
  155. >>> %4: (undef)
  156. >>> %5: (undef)
  157. >>> %6: (undef)
  158. >>> %7: (undef)
  159. >>> %8: (undef)
  160. >>> %9: (undef)
  161. Retry 0: Timeout on pathname
  162.  
  163. Transfer incomplete
  164. [2] -M: "_xif"
  165. [1] -F: "/root/bin/kermit.sh"
  166. C-Kermit 7.0.196, 1 Jan 2000, for Linux
  167.  Copyright (C) 1985, 2000,
  168.   Trustees of Columbia University in the City of New York.
  169. Type ? or HELP for help.
  170. (/root/bin/) C-Kermit>exit